/**
 * 
 */
package net.techwatch.springtest.dao;

import java.util.ArrayList;
import java.util.List;

import org.springframework.dao.DataAccessException;

import net.techwatch.springtest.domain.Person;

/**
 * @author wilfried
 *
 */
public class ImplPersonDao implements PersonDao {

	/* (non-Javadoc)
	 * @see net.techwatch.springtest.dao.PersonDao#selectAll()
	 */
	public List<Person> selectAll() throws DataAccessException {
		List<Person> results = new ArrayList<Person>();
		results.add(new Person("Will", "Smith", 35));
		results.add(new Person("Bruce", "Willis", 45));
		results.add(new Person("Carlize", "Theron", 27));
		
		return results;
	}

}
